package com.mjt.dongbao.ums.entity.dto;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * @Description
 * @Author mjt
 * @Time 2021/12/29
 */

@Data
@ToString
public class UmsMemberLoginParamDto {

    @NotEmpty(message = "用户名不能为空")
    @Size(min = 1, max = 8)
    private String username;

    @NotEmpty(message = "密码不能为空")
    @Size(min = 3, max = 8)
    private String password;
}
